﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tìm hiểu Objective - C phần 3</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><B><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><FONT color=#000000>Kiểu 
id</FONT></SPAN></B></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>id trong ObC gần tương tự như void* trong C. bạn không cần phải 
biết rõ kiểu của object khi bạn gọi phương thức trong ObC điều này hoàn toàn 
khác với C++ bơi đơn giản khi gọi phương thức cũng giống như bạn truyền thông 
điệp trong ObC. Nếu đối tượng nó có phương thức thì sẽ đáp lại thông điệp mà bạn 
truyền (gọi phương thức) và phương thức đc gọi. Cũng nguy hiểm đây chứ .. 
:(</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT color=#000000>Ép kiểu 
động.</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>những phương thức dưới đây dùng để kiểm tra kiểu.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (BOOL) isKindOfClass: classObj &gt;&gt; đối tượng là hậu duệ 
hoặc thể hiện của classObj</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (BOOL) isMemberOfClass: classObj &gt;&gt; là một thành phần của 
objClass</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (BOOL) respondsToSelector: selector &gt;&gt; đối tượng có phương 
thức bởi selector</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>+ (BOOL) instancesRespondToSelector: selector &gt;&gt; đối tượng 
đc tạo bởi lớp có đáp ứng selector</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- (id) performSelector: selector &gt;&gt; triệu gọi chính sách 
selector trên đối tượng.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT 
color=#000000>Constructors - hàm khỏi tạo:</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Vấn đề là với một lớp thì hàm khởi tạo dùng để sinh đối tượng và 
cũng là chỗ để tư duy về hàm hủy và cách thức lưu trong bộ nhớ của đối tượng. Về 
vấn đề hủy đối tượng ta sẽ có một phần riêng và nó hoàn toàn khác biệt với việc 
viết hàm hủy trong C++ và các ngôn ngữ khác. Tất nhiên không có gì là không thể 
viết khi bạn đã hiểu rõ và thông thạo ngôn ngữ. Và hẳn nhiên bạn có thể quên hết 
những luật về khởi tạo đối tượng hàm tạo và hàm hủy của C++ vơi ObC bạn hoàn 
toàn có thể tự mình chế biến những hàm đó theo ý thích và cũng không có quy luật 
gì về tên tuổi của hàm, tuy nhiên theo thoi quen truyền thông để giúp style - 
code chở nên sáng sủa nên dùng bằng các từ như init hoặc tương tự... để định 
nghĩa hàm khởi tạo</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction.h</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>...</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) initWithNumerator: (int) n denominator: (int) 
d;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>...</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>...</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(Fraction*) initWithNumerator: (int) n denominator: (int) d 
{</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>self = [super init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( self ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setNumerator: n andDenominator: d];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return self;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>...</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>main.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "Fraction.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int main( int argc, const char *argv[] ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// create a new instance</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction *frac = [[Fraction alloc] init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction *frac2 = [[Fraction alloc] init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Fraction *frac3 = [[Fraction alloc] initWithNumerator: 3 
denominator: 10];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// set the values</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac setNumerator: 1];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac setDenominator: 3];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// combined set</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac2 setNumerator: 1 andDenominator: 5];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// print it</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "The fraction is: " );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "Fraction 2 is: " );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac2 print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "Fraction 3 is: " );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac3 print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// free memory</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac2 release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[frac3 release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return 0;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- Từ khóa supper để tham chiếu tới lớp cha.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- Từ khóa self tác dụng tương đương như this trong C++. (chính bản 
thân đang thể hiện của lớp - object hiện tại)</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- Kết thúc hàm khởi tạo (init) sẽ trả về chính đối tượng dc tạo ra 
thông qua từ khóa self.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- Mặc định trong ObC hàm khỏi tạo là - (id) init;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>- Trong ObC hàm khởi tạo chỉ có ý nghĩa về mặt tư duy, nó không đc 
đối sử đặc biết giống như C++.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT color=#000000>Đa 
hình.</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>có lẽ với những trình bày ở trên phần nào giúp bạn mường tượng ra 
dc cơ chế đa hình của ObC. phần này chỉ là viết thêm nhằm củng cố một số những 
điểm sau đây.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>1. Trong ObC không có từ khóa virtual và thực sự là không cần 
thiết vì nó sẽ không tạo ra những thứ quá phức tạp giống như C++ vì việc phủ 
quyết hàm trong ObC là phủ quyết trắng chợn không liên quan gì tới sự kế thừa. 
nếu 2 hàm giống hệt nhau ở 2 lớp quan hệ cha con thì cũng chẳng sao cả. cũng cần 
nói thêm là ObC là đơn kế thừa.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>2. Quá trình tạo mối liên hệ giữa thể hiện của ObC và phương thức 
sẽ đc gọi là thời điểm run-time. Điểu này hoàn toàn có ý nghĩa nếu bạn gọi một 
phương thức mà bản thân đối tượng không có cũng không có lỗi gì. Lỗi chỉ xảy ra 
khi lời gọi đó dc thực hiện. Tuy nhiên ban cũng dc cung cấp những cơ chế để kiểm 
soát việc này. đây cũng là một đặc tính Run-Time của ObC nếu bạn quan tâm có thể 
tìm kiếm thông tin từ việc chuyển tiếp thông điệp (forward) tới một đối tượng 
khác.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><B><FONT color=#000000>Quản ly 
bộ nhớ.</FONT></B></SPAN></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>ObC có 2 lựa chọn cho việc quản lý bộ nhớ. Thông thường bộ nhớ dc 
quản lý bởi lập trình viên, ObC có trình biên dịch chỉ thị nhứ "release", 
"retain", "autorelease" là những chỉ thị hỗ chợ lập trình viên mạnh mẽ trong 
việc quản lý bộ nhớ.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>ObC sử dụng một tham chiếu đếm để dò tìm ra những thay đổi trên 
một đối tượng. Biến đếm này sẽ tăng lên một khi đối tượng dc cấp phát bộ nhớ 
bằng phương thức alloc, biến đếm này sẽ giảm đi một khi đối tượng dc giải phóng 
bằng phương thức dealloc. Như vậy nguyên lý cấp phát và duy trì bộ nhớ của đối 
tượng trong ObC dc sử dụng thông qua phương thức alloc và dealloc.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Mặt khác tiện ích khác từ kiểu dữ liệu nil đã nói ở trên đó việc 
giải phóng bộ nhơ. Trong ngữ cảnh một đối tượng của bạn là bao gồm nhiều những 
đối tượng khác. những đối tượng khác đó có thể đã dc giải phóng hoặc chưa. như 
thế bạn sẽ thực hiện lời gọi dealloc trên tập đối tượng mà bạn có, nếu con thì 
nó sẽ thực hiện giải phóng trong trường hợp bằng nil cũng ok :D không vấn đề gì 
(no error) vì nil cũng có thể truyền thông điệp.</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>hãy xem ví dụ</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000># AddressCard.h</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsobject.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsstring.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@interface AddressCard: NSObject {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *first;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *last;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *email;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(AddressCard*) initWithFirst: (NSString*) f</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last: (NSString*) l</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email: (NSString*) e;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) first;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) last;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) email;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setLast: (NSString*) l;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setEmail: (NSString*) e;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last: (NSString*) l</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email: (NSString*) e;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f last: (NSString*) l;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) print;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000># AddressCard.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "AddressCard.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@implementation AddressCard</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(AddressCard*) initWithFirst: (NSString*) f</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last: (NSString*) l</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email: (NSString*) e {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>self = [super init];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>if ( self ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setFirst: f last: l email: e];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return self;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) first {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return first;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) last {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return last;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(NSString*) email {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return email;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[f retain];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[first release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>first = f;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setLast: (NSString*) l {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[l retain];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[last release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last = l;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setEmail: (NSString*) e {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[e retain];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[email release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email = e;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last: (NSString*) l</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email: (NSString*) e {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setFirst: f];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setLast: l];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setEmail: e];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) setFirst: (NSString*) f last: (NSString*) l {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setFirst: f];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[self setLast: l];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) print {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "%s %s &lt;%s&gt;", [first cString],</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[last cString],</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[email cString] );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>-(void) dealloc {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[first release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[last release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[email release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[super dealloc];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>@end</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000># main.m</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import "AddressCard.h"</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<FOUNDATION nsstring.h=""></FOUNDATION></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>#import<STDIO.H></STDIO.H></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>int main( int argc, const char *argv[] ) {</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *first =[[NSString alloc] initWithCString: 
"Tom"];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *last = [[NSString alloc] initWithCString: 
"Jones"];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>NSString *email = [[NSString alloc] initWithCString: 
"tom@jones.com"];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>AddressCard *tom = [[AddressCard alloc] initWithFirst: 
first</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>last: last</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>email: email];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// we're done with the strings, so we must dealloc 
them</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[first release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[last release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[email release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// print to show the retain count</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "Retain count: %i\n", [[tom first] retainCount] 
);</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[tom print];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>printf( "\n" );</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>// free memory</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>[tom release];</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>return 0;</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>}</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000># output</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Retain count: 1</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Tom Jones<TOM@JONES.COM></TOM@JONES.COM></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Mặt khác ObC cũng cung cấp một cớ chế thông minh thường thường 
trong việc bạn gọi và sử dụng đối tượng mà không phải quan tâm lo lắng đến việc 
cấp phát và giải phóng bộ nhớ đó là cơ chế NSAutoreleasePool. Để dùng dc cơ chế 
này bạn chỉ việc nhớ 2 điều kẹp đoạn code mà bạn muốn kiểm soát vào trong giữa 
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init] và [pool release]. 
Nguyên lý của đồng chí này cũng giống như lời gọi hàm vì thế bạn hoàn toàn có 
thể sử dụng lồng nhau và sự đóng mở hợp lý (giống như thẻ đóng và mở của XML đó) 
tự nhiên ObC sẽ đẩy các lời gọi pool sau xuống stack và đặt pool mới trên cùng 
sau đó nhét các object dc tạo ra trong lòng nó vào cái pool vừa mới tạo nếu song 
thì giải phóng rồi lại đẩy tiếp thằng pool ở dưới lên cứ thế... kinh chưa 
:).</FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><B><SPAN 
class=Apple-style-span style="FONT-SIZE: large"><FONT color=#000000>Tổng 
kết:</FONT></SPAN></B></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000><BR></FONT></DIV>
<DIV 
style="WORD-SPACING: 0px; FONT: 13px/19px Verdana, sans-serif; TEXT-TRANSFORM: none; COLOR: rgb(204,204,204); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BACKGROUND-COLOR: rgb(158,181,204); TEXT-ALIGN: left; orphans: 2; widows: 2; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><FONT 
color=#000000>Đây không phải là một ngôn ngữ compile và là ngôn ngữ run-time. 
Cho nên trong quá trình code yêu tố này ảnh hưởng rất lớn tới chương trình của 
bạn. Các đặc điểm như ép kiểu. Đa hình... sẽ rất mềm 
dẻo.</FONT></DIV></body>
</html>
